WooCommerce\Square\Sync\Manual_Synchronization D

Total Complexity 227
Dependencies 21
Dependents 1
Total lines 1,774
Lines of code 1,016
Logical lines of code 644
Comment lines 250
Methods 24
Properties 0

Methods 24

Method Rating Maintainability Complexity Lines of code
upsert_catalog_objects()
D
23
35 187
square_sor_sync()
D
29
32 120
search_matched_products()
C
30 27 121
prepare_matched_products_for_upsert()
B
36 20 74
refresh_category_mappings()
B
37 16 76
pull_inventory()
A
37 13 76
push_inventory()
A
44 13 41
upsert_categories()
A
41 10 55
update_matched_products()
A
45 9 40
query_unmapped_categories()
A
46 8 38
assign_next_steps()
S
49 6 36
mark_failed_products()
S
54 6 21
push_product_image()
S
54 6 19
upsert_new_products()
S
50 5 30
update_limits()
S
59 4 13
get_shared_category_ids()
S
61 4 12
upsert_matched_products()
S
59 3 14
validate_products()
S
58 2 15
convert_to_catalog_object()
S
67 3 7
extract_category_ids()
S
72 1 5
get_max_objects_to_retrieve()
S
74 1 4
get_max_objects_per_batch()
S
74 1 4
get_max_objects_per_upsert()
S
74 1 4
get_max_objects_total()
S
74 1 4